package com.chance.cc.crawler.prod.command.schedule.vm.pcauto;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.pcauto.realtime.PcAutoNewCarCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.pcauto.realtime.PcautoCarSeriesDistributorCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2020-12-09 16:15:28
 * @email okprog@sina.com
 */
public class PcautoCarSeriesCommonCrawlerJobSchedule extends CommonCrawlerJobSchedule {


    public static void main(String[] args) {
//        pcautoCarSeriesCrawlerScheduleJob(PcautoCarSeriesCrawlerScheduleJob.pcautoCarSeriesScheduler());//采集车型和配置-
//        pcautoCarSeriesDistributorCrawlerScheduleJob(PcautoCarSeriesDistributorCrawlerScheduleJob.pcautoCarSeriesDistributorScheduler());//采集经销商-
            pcautoNewCarCrawlerScheduleJob(PcAutoNewCarCrawlerScheduleJob.meiPaiScheduler());//新车

//        autoHomeCarSeriesArticleCrawlerScheduleJob(AutoHomeCarSeriesArticleCrawlerScheduleJob.autoHomeCarSeriesArticleScheduler());//采集车系文章-
//        autoHomeCarSeriesArticleCommentCrawlerScheduleJob(AutoHomeCarSeriesArticleCommentCrawlerScheduleJob.autoHomeCarSeriesCommentCrawlerScheduler());//采集文章评论-
//        autoHomeCarSeriesPraiseCrawlerScheduleJob(AutoHomeCarSeriesPraiseCrawlerScheduleJob.autoHomeCarSeriesPraiseScheduler());//采集车系口碑-
//        autoHomeCarSeriesVideoCrawlerScheduleJob(AutoHomeCarSeriesVideoCrawlerScheduleJob.autoHomeCarSeriesVideoScheduler());//采集车系视频-
    }



    public static void pcautoCarSeriesCrawlerScheduleJob(CrawlerJob crawlerJob) {//发起工作车型和配置-
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(), device_name_1);//放到具体的设备上-
    }

    public static void pcautoCarSeriesDistributorCrawlerScheduleJob(CrawlerJob crawlerJob) {//发起工作经销商-
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(), device_name_1);//放到具体的设备上-
    }

    public static void pcautoNewCarCrawlerScheduleJob(CrawlerJob crawlerJob) {//发起新车
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(), device_name_1);//放到具体的设备上-
    }


}
